﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Truextend.CoffeShop.Model;

namespace Truextend.CoffeShop.Bussiness.Interfaces
{
    public interface IDetailManager
    {
        void AddDetailForProductID(Detail detail , int productId);        
        Detail GetLastDetail();
        IList<Detail> GetAllDetailsOfAnOrder(int orderId);        
        Detail GetDetailById(int detailId);
        void DeleteDetail(int detailId);
    }
}
